package yl.hs.bmipfull.pojo.laboratory;

import lombok.Data;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

/**
 * 作用:  产品类别表实体类<br/>
 * 创建时间: 2021年05月24日 10时11分57秒 <br/>
 *
 * @author 张凯
 */
@DBTable(disName = "产品类别表", mapCode = "product_cate")
@Data
public class ProductCateEntity extends BaseEntity {

    private Long id;
    @DBField(disName = "产品类别表信息编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "PCAT")
    private String sn;
    @DBField(disName = "类别名称", mapCode = "cateName")
    private String cateName;
    private String cateNamePY;
    @DBField(disName = "类别编号")
    private String cateNumber;
    @DBField(disName = "是否包装")
    private boolean packageEnable;
    @DBField(disName = "车辆类型")
    private String truckType;
    @DBField(disName = "生产模式")
    private String productionMode;
    @DBField(disName = "附加参数")
    private String attachParam;
    private String organizationCode;
    @DBField(disName = "备注")
    private String remark;
    private short state;
    @DBField(disName = "是否有生产任务")
    private boolean productionTask;
    @DBField(disName = "是否有派车")
    private boolean transTask;
    @DBField(disName = "打印单据类型")
    private short printModel;
    @DBField(disName = "类型")
    private Integer type;

    /**
     * 获取主键
     *
     * @return
     */
    public Long getId() {
        return this.id;
    }

    /**
     * 设置主键
     *
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取编号
     *
     * @return
     */
    public String getSn() {
        return this.sn;
    }

    /**
     * 设置编号
     *
     * @param sn
     */
    public void setSn(String sn) {
        this.sn = sn;
    }

    /**
     * 获取类别名称
     *
     * @return
     */
    public String getCateName() {
        return this.cateName;
    }

    /**
     * 设置类别名称
     *
     * @param cateName
     */
    public void setCateName(String cateName) {
        this.cateName = cateName;
    }

    /**
     * 获取类别名称拼音
     *
     * @return
     */
    public String getCateNamePY() {
        return this.cateNamePY;
    }

    /**
     * 设置类别名称拼音
     *
     * @param cateNamePY
     */
    public void setCateNamePY(String cateNamePY) {
        this.cateNamePY = cateNamePY;
    }

    /**
     * 获取类别编号
     *
     * @return
     */
    public String getCateNumber() {
        return this.cateNumber;
    }

    /**
     * 设置类别编号
     *
     * @param cateNumber
     */
    public void setCateNumber(String cateNumber) {
        this.cateNumber = cateNumber;
    }

    /**
     * 获取是否包装
     *
     * @return
     */
    public boolean isPackageEnable() {
        return this.packageEnable;
    }

    /**
     * 设置是否包装
     *
     * @param packageEnable
     */
    public void setPackageEnable(boolean packageEnable) {
        this.packageEnable = packageEnable;
    }

    /**
     * 获取适用车辆类型
     *
     * @return
     */
    public String getTruckType() {
        return this.truckType;
    }

    /**
     * 设置适用车辆类型
     *
     * @param truckType
     */
    public void setTruckType(String truckType) {
        this.truckType = truckType;
    }

    /**
     * 获取适用生产模式
     *
     * @return
     */
    public String getProductionMode() {
        return this.productionMode;
    }

    /**
     * 设置适用生产模式
     *
     * @param productionMode
     */
    public void setProductionMode(String productionMode) {
        this.productionMode = productionMode;
    }

    /**
     * 获取附加参数
     *
     * @return 附加参数
     */
    public String getAttachParam() {
        return attachParam;
    }

    /**
     * 设置附加参数
     *
     * @param attachParam 附加参数
     */
    public void setAttachParam(String attachParam) {
        this.attachParam = attachParam;
    }

    /**
     * 获取组织代码
     *
     * @return
     */
    public String getOrganizationCode() {
        return this.organizationCode;
    }

    /**
     * 设置组织代码
     *
     * @param organizationCode
     */
    public void setOrganizationCode(String organizationCode) {
        this.organizationCode = organizationCode;
    }

    /**
     * 获取备注
     *
     * @return
     */
    public String getRemark() {
        return this.remark;
    }

    /**
     * 设置备注
     *
     * @param remark
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * 获取数据状态
     *
     * @return
     */
    public short getState() {
        return this.state;
    }

    /**
     * 设置数据状态
     *
     * @param state
     */
    public void setState(short state) {
        this.state = state;
    }

    public boolean getProductionTask() {
        return productionTask;
    }

    public void setProductionTask(boolean productionTask) {
        this.productionTask = productionTask;
    }

    public boolean getTransTask() {
        return transTask;
    }

    public void setTransTask(boolean transTask) {
        this.transTask = transTask;
    }

    public short getPrintModel() {
        return printModel;
    }

    public void setPrintModel(short printModel) {
        this.printModel = printModel;
    }
}